package com.woniu.cq.medical.service.impl;

import com.woniu.cq.medical.entity.Administrative;
import com.woniu.cq.medical.dao.AdministrativeMapper;
import com.woniu.cq.medical.service.AdministrativeService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author Lucas
 * @since 2020-09-05
 */
@Service
public class AdministrativeServiceImpl extends ServiceImpl<AdministrativeMapper, Administrative> implements AdministrativeService {

    @Autowired
    private AdministrativeMapper administrativeMapper;

    @Override
    public List<Administrative> queryAdministrativeList() {
        List<Administrative> administratives = administrativeMapper.queryAdministrativeList();
        return administratives;
    }
}
